package com.ruoyi.framework.websocket;

import org.springframework.lang.Nullable;

public class TextMessage {

    @Nullable
    // 用户id
    private String userId;

    @Nullable
    // 内容
    private String content;


    public TextMessage() {
    }

    public TextMessage(String content) {
        this.content = content;
    }

    @Nullable
    public String getUserId() {
        return userId;
    }

    @Nullable
    public String getContent() {
        return content;
    }
}

